package com.song.service;

import com.song.pojo.Room;
import com.song.vo.RoomVo;

import java.util.List;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2020/12/23 - the current system date.
 * 11:04 - the current system time.
 */
public interface RoomService {

    //查询房间列表
    List<Room> findRoomListByPage(RoomVo roomVo);

    //添加房间
    int addRoom(Room room);

    //修改房间
    int updateRoom(Room room);

    //删除房间
    int deleteById(int id);

    //根据楼层查询房间列表
    List<Room> findRoomListByFloorId();

    //查看房间详情
    Room findById(Integer id);
}
